﻿<%@ Page Title="" Language="C#" MasterPageFile="~/AsistenteDirector/AsistenteDirector.master" AutoEventWireup="true" CodeFile="altaMaestros.aspx.cs" Inherits="AsistenteDirector_altaMaestros" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    
    <asp:TextBox ID="TextBox1" runat="server" ontextchanged="TextBox1_TextChanged" 
        ClientIDMode="Static" BackColor="#FFCC66" Font-Bold="True" ForeColor="#008651"></asp:TextBox>&nbsp; 
    <asp:Button ID="btnBuscar"
        runat="server" Text="Buscar" ClientIDMode="Static" 
        onclick="btnBuscar_Click" style="height: 26px" BackColor="#FFCC66" 
        Font-Bold="True" ForeColor="#008651" />
       <br />
    <br />
       <br />
 <table border="1" bordercolor="#FFCC00" style="background-color:#FFFFCC; width:373px">
    <tr>
        <asp:GridView ID="GridView1" runat="server" Height="82px" Width="532px" 
            CellPadding="4" ForeColor="#333333" GridLines="None" 
            onselectedindexchanged="GridView1_SelectedIndexChanged">
            <AlternatingRowStyle BackColor="White" />
            <Columns>
                <asp:ButtonField CommandName="Select" HeaderText="Seleccionar" 
                    ShowHeader="True" Text="Seleccionar" />
            </Columns>
            <EditRowStyle BackColor="#7C6F57" />
            <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="#E3EAEB" />
            <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
            <SortedAscendingCellStyle BackColor="#F8FAFA" />
            <SortedAscendingHeaderStyle BackColor="#246B61" />
            <SortedDescendingCellStyle BackColor="#D4DFE1" />
            <SortedDescendingHeaderStyle BackColor="#15524A" />
        </asp:GridView>
    </tr>
</table>
    <br />
<table>
    <tr>
        <td>
         <asp:Label ID="Label1" runat="server" Text="No. Control" ClientIDMode="Static"></asp:Label>&nbsp;:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
            <asp:Label ID="lblControl" runat="server" ClientIDMode="Static" 
                Font-Bold="True" ForeColor="#008651"></asp:Label>
        </td>
    </tr>
    <tr>
        <td>
         <asp:Label ID="Label2" runat="server" Text="Profesor" ClientIDMode="Static"></asp:Label>&nbsp;:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
            <asp:Label ID="lblProfesor" runat="server" Font-Bold="True" ForeColor="#008651"></asp:Label>
            <br />
        </td>
    </tr>
    </table>
    <table style="width: 40%;">
        <tr>
            <td style="width: 129px; text-align: right;">
                Usuario &nbsp;
            </td>
            <td style="width: 192px; text-align: left;">
                &nbsp;
                <asp:TextBox ID="txtUser" runat="server" ClientIDMode="Static" 
                    BackColor="#FFCC66" Font-Bold="True" ForeColor="#008651"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="width: 129px; text-align: right;">
                &nbsp;
                Contraseña</td>
            <td style="width: 192px; text-align: left;">
                &nbsp;
                <asp:TextBox ID="txtContraseña" runat="server" TextMode="Password" 
                    ClientIDMode="Static" BackColor="#FFCC66" Font-Bold="True" ForeColor="#008651"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="width: 129px; text-align: right;">
                &nbsp;
                Confirme su contraseña</td>
            <td style="width: 192px; text-align: left;">
                &nbsp;<asp:TextBox ID="txtConfirmar" runat="server" TextMode="Password" 
                    ClientIDMode="Static" BackColor="#FFCC66" Font-Bold="True" ForeColor="#008651"></asp:TextBox>
                &nbsp;</td>
        </tr>
         <tr>
            <td style="width: 129px">
                
            </td>
            <td style="width: 192px"><asp:CompareValidator ID="CompareValidator1" runat="server" 
                    ErrorMessage="CompareValidator" ControlToValidate="txtConfirmar" ControlToCompare="txtContraseña" ForeColor="Red" Text="Ingrese nuevamente el password"></asp:CompareValidator></td>
        </tr>
        <tr>
            <td style="width: 129px">
                &nbsp;
                </td>
            <td style="width: 192px">
                &nbsp;
                <asp:Button ID="btnGuardar" runat="server" Text="Guardar" 
                    onclick="btnGuardar_Click" BackColor="#FFCC66" Font-Bold="True" 
                    ForeColor="#008651" />
            </td>
        </tr>
    </table>



</asp:Content>

